package com.ms.biz;

import java.util.HashMap;
import java.util.Map;

import org.apache.ibatis.session.SqlSession;

import com.ms.bean.News;
import com.ms.dao.INewsDao;
import com.ms.util.SqlSessionFactoryUtil;

public class NewsBiz {

	public News NewsLogin(String name,String pass){
		
		SqlSession session = SqlSessionFactoryUtil.getSession();
		Map<String,Object> map = new HashMap<String,Object>();
		map.put("news_username","news");
		map.put("news_password","news");
		
		INewsDao newsDao = session.getMapper(INewsDao.class);
		   
	    return null;
	}
}
